package net.zhengxinyun.unifyApp.api.service;
import net.zhengxinyun.unifyApp.api.entity.SysFile;
import org.apache.catalina.servlet4preview.http.HttpServletRequest;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.List;

/**
 * Created by hyp1202 on 2018/12/3.
 */
public interface SysFileService {

    List<SysFile> query();

    HashMap<String,Object> save(MultipartFile sysFile);

    String delete(List<String> idList);

    String downloadFile(HttpServletRequest request, HttpServletResponse response, String id);

    SysFile selectOne(Long id);
}
